home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Personal Computer World 2009 February
/
PCWFEB09.iso
/
Software
/
Resources
/
Optimisation & Diagnostics
/
UpdateStar 2.5
/
UpdateStar_ENU.msi
/
UpdateXsl
< prev
next >
Wrap
Extensible Markup Language
|
2008-04-16
|
30KB
|
898 lines
<?xml version="1.0" encoding="iso-8859-1"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="updatesend/stylepath"></xsl:template>
<xsl:template match="updatesend/language"></xsl:template>
<xsl:template match="updatesend/largefont"></xsl:template>
<xsl:template match="updatesend/partnerid"></xsl:template>
<xsl:variable name="language"><xsl:value-of select="updatesend/language"/></xsl:variable>
<xsl:variable name="largefont"><xsl:value-of select="updatesend/largefont"/></xsl:variable>
<xsl:variable name="partnerid"><xsl:value-of select="updatesend/partnerid"/></xsl:variable>
<xsl:variable name="stylepathorig"><xsl:value-of select="updatesend/stylepath"/></xsl:variable>
<xsl:variable name="stylepath"><xsl:copy-of select="$stylepathorig"/>\img\</xsl:variable>
<xsl:variable name="iprodkey"><xsl:value-of select="updatesend/software/installed/prodkey"/></xsl:variable>
<xsl:variable name="iid"><xsl:value-of select="updatesend/software/installed/id"/></xsl:variable>
<xsl:variable name="iname"><xsl:value-of select="updatesend/software/installed/name"/></xsl:variable>
<xsl:variable name="iversion"><xsl:value-of select="updatesend/software/installed/version"/></xsl:variable>
<xsl:variable name="ipublisher"><xsl:value-of select="updatesend/software/installed/publisher"/></xsl:variable>
<xsl:variable name="ilincense"><xsl:value-of select="updatesend/software/installed/license"/></xsl:variable>
<xsl:variable name="irequirements"><xsl:value-of select="updatesend/software/installed/requirements"/></xsl:variable>
<xsl:variable name="icontact"><xsl:value-of select="updatesend/software/installed/contact"/></xsl:variable>
<xsl:variable name="ihelplink"><xsl:value-of select="updatesend/software/installed/helplink"/></xsl:variable>
<xsl:variable name="itelephone"><xsl:value-of select="updatesend/software/installed/telephone"/></xsl:variable>
<xsl:variable name="ireadme1"><xsl:value-of select="updatesend/software/installed/readme/display"/></xsl:variable>
<xsl:variable name="ireadme2"><xsl:value-of select="updatesend/software/installed/readme/cmd"/></xsl:variable>
<xsl:variable name="iupdates"><xsl:value-of select="updatesend/software/installed/updates"/></xsl:variable>
<xsl:variable name="icomment"><xsl:value-of select="updatesend/software/installed/comment"/></xsl:variable>
<xsl:variable name="idate"><xsl:value-of select="updatesend/software/installed/date"/></xsl:variable>
<xsl:variable name="isize"><xsl:value-of select="updatesend/software/installed/size"/></xsl:variable>
<xsl:variable name="idesciption"><xsl:value-of select="updatesend/software/installed/description"/></xsl:variable>
<xsl:variable name="ishortdescr"><xsl:value-of select="updatesend/software/installed/shortdescr"/></xsl:variable>
<xsl:variable name="icategory"><xsl:value-of select="updatesend/software/installed/category"/></xsl:variable>
<xsl:variable name="ibuybuttons"><xsl:value-of select="updatesend/software/installed/BuyButtons"/></xsl:variable>
<xsl:variable name="idownloadbuttons"><xsl:value-of select="updatesend/software/installed/DownloadButtons"/></xsl:variable>
<xsl:template match="updatesend/software/update/version"></xsl:template>
<xsl:template match="updatesend/software/update/size"></xsl:template>
<xsl:variable name="uversion"><xsl:value-of select="updatesend/software/update/version"/></xsl:variable>
<xsl:variable name="usize"><xsl:value-of select="updatesend/software/update/size"/></xsl:variable>
<xsl:template match="updatesend/software">
<html><head>
<xsl:element name="link">
<xsl:attribute name="href"><xsl:copy-of select="$stylepathorig"/>\style.css</xsl:attribute>
<xsl:attribute name="rel">stylesheet</xsl:attribute>
<xsl:attribute name="type">text/css</xsl:attribute>
</xsl:element>
<xsl:if test="$largefont='yes'">
<style type="text/css">
td {
font-size: 16px;
}
td.desc{
font-size:13px;
}
td.normal{
font-size:13px;
}
a.sublink{
font-size:11px;
font-weight:bold;
}
</style>
</xsl:if>
<!--
<xsl:element name="SCRIPT">
<xsl:attribute name="language">JavaScript</xsl:attribute>
<xsl:attribute name="SRC"><xsl:copy-of select="$stylepathorig"/>\<xsl:copy-of select="$language"/>.js</xsl:attribute>
</xsl:element>
<xsl:element name="SCRIPT">
<xsl:attribute name="language">JavaScript</xsl:attribute>
<xsl:attribute name="SRC"><xsl:copy-of select="$stylepathorig"/>\slang.js</xsl:attribute>
</xsl:element>
-->
<xsl:element name="SCRIPT">
<xsl:attribute name="language">JavaScript</xsl:attribute>
function translate(){
for (newalt in sfields) {
sfields[newalt] = window.external.GetString(sfields[newalt]);
if(document.getElementById(newalt) ){
if(document.getElementById(newalt).alt){//image
document.getElementById(newalt).alt=sfields[newalt];
}else if(document.getElementById(newalt).value == ""){//input
document.getElementById(newalt).value=sfields[newalt];
}else{
document.getElementById(newalt).innerHTML=sfields[newalt];//default div element
}
}
if(document.getElementById(newalt + "_" + 0)){
document.getElementById(newalt + "_" + 0).innerHTML=sfields[newalt];
}
if(document.getElementById(newalt + "_" + 1)){
document.getElementById(newalt + "_" + 1).innerHTML=sfields[newalt];
}
if(document.getElementById(newalt + "_" + 2)){
document.getElementById(newalt + "_" + 2).innerHTML=sfields[newalt];
}
if(document.getElementById(newalt + "_" + 3)){
document.getElementById(newalt + "_" + 3).innerHTML=sfields[newalt];
}
if(document.getElementById(newalt + "_" + 4)){
document.getElementById(newalt + "_" + 4).innerHTML=sfields[newalt];
}
if(document.getElementById(newalt + "_" + 5)){
document.getElementById(newalt + "_" + 5).innerHTML=sfields[newalt];
}
}
}
var sfields = new Array();
sfields["str_noupdate"] = 600;
sfields["str_yesupdate"] = 601;
sfields["str_lastscan"] = 602;
sfields["str_foundprogs"] = 603;
sfields["str_foundupdates"] = 604;
sfields["searchbutton"] = 605;
sfields["listbutton"] = 606;
sfields["str_availupdates"] = 607;
sfields["str_availvers"] = 608;
sfields["str_availnews"] = 609;
sfields["str_pname"] = 610;
sfields["str_publisher"] = 611;
sfields["str_category"] = 612;
sfields["str_license"] = 613;
sfields["str_irequirements"]= 614;
sfields["str_iversion"] = 615;
sfields["str_uversion"] = 616;
sfields["str_management"] = 617;
sfields["str_info"] = 618;
sfields["str_sdesc"] = 619;
sfields["str_desc"] = 620;
sfields["str_download"] = 621;
sfields["str_buynow"] = 622;
sfields["str_getprice"] = 623;
sfields["str_buyfrom"] = 624;
sfields["str_errlink"] = 625;
sfields["str_sendupdate"] = 626;
sfields["sendupdate"] = 626;
sfields["alt_uninstall"] = 627;
sfields["alt_repair"] = 629;
sfields["alt_modify"] = 628;
sfields["str_ranking"] = 630;
sfields["str_allranking"] = 631;
sfields["str_newstitle"] = 632;
sfields["str_newsdata"] = 633;
sfields["str_comment"] = 636;
sfields["str_updatetop"] = 634;
sfields["str_changevalues"] = 635;
</xsl:element>
<xsl:element name="SCRIPT">
<xsl:attribute name="language">JavaScript</xsl:attribute>
<![CDATA[
var datachanged = 0;
function cfsubmit(){
datachanged += chkfield('iname');
datachanged += chkfield('ipublisher');
datachanged += chkfield('icategory');
datachanged += chkfield('irequirements');
datachanged += chkfield('irequirements');
datachanged += chkfield('iversion');
datachanged += chkfield('uversion');
datachanged += chkfield('ishortdescr');
datachanged += chkfield('idesciption');
if(datachanged > 0){
document.getElementById('uform').submit();
} else{
document.getElementById('str_changevalues').style.display = 'inline';
}
}
function chkfield(fieldid){
if(document.getElementById(fieldid) && document.getElementById('original_'+fieldid)){
if(document.getElementById(fieldid).value != document.getElementById('original_'+fieldid).value){
return 1;
}else{
return 0;
}
} else{
return 0;
}
}
]]>
</xsl:element>
</head>
<body onload="if(window.translate)translate(); ">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td style="padding-left: 10px; padding-right:10px; padding-top:10px; padding-bottom:10px;" valign="top">
<table border="0" cellpadding="0" cellspacing="0" width="100%" >
<tr>
<td class="status_greenl" id="nameleft"><div id="str_sendupdate" style="display: inline;">.</div>: <xsl:copy-of select="$iname"/></td>
<td class="status_greenr" id="nameright">
<xsl:element name="img">
<xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>/tbl/shim.gif</xsl:attribute>
<xsl:attribute name="width">19</xsl:attribute>
<xsl:attribute name="height">23</xsl:attribute>
</xsl:element>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td valign="top" style="padding-left: 10px; padding-right:10px;padding-top:10px; padding-bottom:10px;" >
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td class="tl">
<xsl:element name="img">
<xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>/tbl/shim.gif</xsl:attribute>
<xsl:attribute name="width">2</xsl:attribute>
<xsl:attribute name="height">2</xsl:attribute>
</xsl:element>
</td><td class="tm" width="100%"></td>
<td class="tr">
<xsl:element name="img">
<xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>/tbl/shim.gif</xsl:attribute>
<xsl:attribute name="width">2</xsl:attribute>
<xsl:attribute name="height">2</xsl:attribute>
</xsl:element>
</td>
</tr>
<tr>
<td class="ml"></td>
<td width="100%" class="wbox">
<table border="0" cellpadding="0" cellspacing="0" width="100%" height="100%">
<tr>
<td valign="top">
<form id="uform" method="POST" action="http://www.updatestar.com/submit/update.php">
<xsl:element name="input">
<xsl:attribute name="type">hidden</xsl:attribute>
<xsl:attribute name="name">iid</xsl:attribute>
<xsl:attribute name="size">67</xsl:attribute>
<xsl:attribute name="value"><xsl:copy-of select="$iid"/></xsl:attribute>
</xsl:element>
<xsl:element name="input">
<xsl:attribute name="type">hidden</xsl:attribute>
<xsl:attribute name="name">iprodkey</xsl:attribute>
<xsl:attribute name="value"><xsl:copy-of select="$iprodkey"/></xsl:attribute>
</xsl:element>
<xsl:element name="input">
<xsl:attribute name="type">hidden</xsl:attribute>
<xsl:attribute name="name">lang</xsl:attribute>
<xsl:attribute name="value"><xsl:copy-of select="$language"/></xsl:attribute>
</xsl:element>
<xsl:element name="input">
<xsl:attribute name="type">hidden</xsl:attribute>
<xsl:attribute name="name">branding</xsl:attribute>
<xsl:attribute name="value"><xsl:copy-of select="$partnerid"/></xsl:attribute>
</xsl:element>
<xsl:element name="input">
<xsl:attribute name="type">hidden</xsl:attribute>
<xsl:attribute name="name">original_lang</xsl:attribute>
<xsl:attribute name="value"><xsl:copy-of select="$language"/></xsl:attribute>
</xsl:element>
<xsl:element name="input">
<xsl:attribute name="type">hidden</xsl:attribute>
<xsl:attribute name="name">sendform</xsl:attribute>
<xsl:attribute name="value">true</xsl:attribute>
</xsl:element>
<xsl:apply-templates />
<div id="str_changevalues" style="color:#ff0000; fint-weight:bold;display:none; " >.</div>
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
<xsl:element name="img">
<xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>buttons/start_left.gif</xsl:attribute>
</xsl:element>
</td>
<td class="startm">
<a href="javascript: cfsubmit();" class="buttonstart" id="sendupdate">.</a></td>
<td>
<xsl:element name="img">
<xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>buttons/start_right.gif</xsl:attribute>
</xsl:element>
</td>
</tr>
</table>
</form>
<xsl:if test="update">
<script type="text/javascript">
document.getElementById('nameleft').className='status_redl';
document.getElementById('nameright').className='status_redr';
</script>
</xsl:if>
</td></tr>
</table>
</td>
<td class="mr"></td>
</tr>
<tr>
<td class="ml"></td>
<td valign="top" class="wbox">
<xsl:element name="img">
<xsl:attribute name="border">0</xsl:attribute>
<xsl:attribute name="align">right</xsl:attribute>
<xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>star.gif</xsl:attribute>
</xsl:element>
</td>
<td class="mr"></td>
</tr>
<tr>
<td class="bl">
<xsl:element name="img">
<xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>/img/tbl/shim.gif</xsl:attribute>
<xsl:attribute name="width">2</xsl:attribute>
<xsl:attribute name="height">2</xsl:attribute>
</xsl:element>
</td>
<td class="bm"></td>
<td class="br">
<xsl:element name="img">
<xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>/img/tbl/shim.gif</xsl:attribute>
<xsl:attribute name="width">2</xsl:attribute>
<xsl:attribute name="height">2</xsl:attribute>
</xsl:element>
</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>
</xsl:template>
<xsl:template match="installed">
<table border="0" cellpadding="0" cellspacing="5" width="100%">
<TR>
<TD width="150">
<xsl:element name="img">
<xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>/tbl/cshim.gif</xsl:attribute>
<xsl:attribute name="width">150</xsl:attribute>
<xsl:attribute name="height">1</xsl:attribute>
</xsl:element>
</TD>
<TD width="100%"></TD>
</TR>
<TR><TD colspan="2" class="normal"><div id="str_updatetop" style="margin-bottom:20px;">.</div></TD></TR>
<TR><TD class="desc"><div id="str_pname">.</div></TD>
<TD class="normal">
<xsl:element name="input">
<xsl:attribute name="type">text</xsl:attribute>
<xsl:attribute name="name">iname</xsl:attribute>
<xsl:attribute name="id">iname</xsl:attribute>
<xsl:attribute name="size">67</xsl:attribute>
<xsl:attribute name="value"><xsl:copy-of select="$iname"/></xsl:attribute>
</xsl:element>
<xsl:element name="input">
<xsl:attribute name="type">hidden</xsl:attribute>
<xsl:attribute name="name">original_iname</xsl:attribute>
<xsl:attribute name="id">original_iname</xsl:attribute>
<xsl:attribute name="value"><xsl:copy-of select="$iname"/></xsl:attribute>
</xsl:element>
</TD></TR>
<TR><TD class="desc"><div id="str_publisher">.</div></TD>
<TD class="normal">
<xsl:element name="input">
<xsl:attribute name="type">text</xsl:attribute>
<xsl:attribute name="name">ipublisher</xsl:attribute>
<xsl:attribute name="id">ipublisher</xsl:attribute>
<xsl:attribute name="size">67</xsl:attribute>
<xsl:attribute name="value"><xsl:copy-of select="$ipublisher"/></xsl:attribute>
</xsl:element>
<xsl:element name="input">
<xsl:attribute name="type">hidden</xsl:attribute>
<xsl:attribute name="name">original_ipublisher</xsl:attribute>
<xsl:attribute name="id">original_ipublisher</xsl:attribute>
<xsl:attribute name="value"><xsl:copy-of select="$ipublisher"/></xsl:attribute>
</xsl:element>
</TD></TR>
<TR><TD class="desc"><div id="str_category">.</div></TD>
<TD class="normal">
<xsl:element name="input">
<xsl:attribute name="type">text</xsl:attribute>
<xsl:attribute name="name">icategory</xsl:attribute>
<xsl:attribute name="id">icategory</xsl:attribute>
<xsl:attribute name="size">67</xsl:attribute>
<xsl:attribute name="value"><xsl:copy-of select="$icategory"/></xsl:attribute>
</xsl:element>
<xsl:element name="input">
<xsl:attribute name="type">hidden</xsl:attribute>
<xsl:attribute name="name">original_icategory</xsl:attribute>
<xsl:attribute name="id">original_icategory</xsl:attribute>
<xsl:attribute name="value"><xsl:copy-of select="$icategory"/></xsl:attribute>
</xsl:element>
</TD></TR>
<TR><TD class="desc"><div id="str_irequirements">.</div></TD>
<TD class="normal">
<xsl:element name="input">
<xsl:attribute name="type">text</xsl:attribute>
<xsl:attribute name="name">irequirements</xsl:attribute>
<xsl:attribute name="id">irequirements</xsl:attribute>
<xsl:attribute name="size">67</xsl:attribute>
<xsl:attribute name="value"><xsl:copy-of select="$irequirements"/></xsl:attribute>
</xsl:element>
<xsl:element name="input">
<xsl:attribute name="type">hidden</xsl:attribute>
<xsl:attribute name="name">original_irequirements</xsl:attribute>
<xsl:attribute name="id">original_irequirements</xsl:attribute>
<xsl:attribute name="value"><xsl:copy-of select="$irequirements"/></xsl:attribute>
</xsl:element>
</TD></TR>
<TR><TD class="desc"><div id="str_license">.</div></TD>
<TD class="normal">
<xsl:element name="input">
<xsl:attribute name="type">text</xsl:attribute>
<xsl:attribute name="name">ilincense</xsl:attribute>
<xsl:attribute name="id">ilincense</xsl:attribute>
<xsl:attribute name="size">67</xsl:attribute>
<xsl:attribute name="value"><xsl:copy-of select="$ilincense"/></xsl:attribute>
</xsl:element>
<xsl:element name="input">
<xsl:attribute name="type">hidden</xsl:attribute>
<xsl:attribute name="name">original_ilincense</xsl:attribute>
<xsl:attribute name="id">original_ilincense</xsl:attribute>
<xsl:attribute name="value"><xsl:copy-of select="$ilincense"/></xsl:attribute>
</xsl:element>
</TD></TR>
<xsl:if test="not($iversion='')">
<TR>
<TD class="desc"><div id="str_iversion">.</div></TD>
<TD class="normal">
<xsl:element name="input">
<xsl:attribute name="type">text</xsl:attribute>
<xsl:attribute name="name">iversion</xsl:attribute>
<xsl:attribute name="id">iversion</xsl:attribute>
<xsl:attribute name="size">67</xsl:attribute>
<xsl:attribute name="value"><xsl:copy-of select="$iversion"/></xsl:attribute>
</xsl:element>
<xsl:element name="input">
<xsl:attribute name="type">hidden</xsl:attribute>
<xsl:attribute name="name">original_iversion</xsl:attribute>
<xsl:attribute name="id">original_iversion</xsl:attribute>
<xsl:attribute name="value"><xsl:copy-of select="$iversion"/></xsl:attribute>
</xsl:element>
</TD>
</TR>
</xsl:if>
<xsl:if test="not($uversion='')">
<TR>
<TD class="desc"><div id="str_uversion">.</div></TD>
<TD class="normal">
<xsl:element name="input">
<xsl:attribute name="type">text</xsl:attribute>
<xsl:attribute name="name">uversion</xsl:attribute>
<xsl:attribute name="id">uversion</xsl:attribute>
<xsl:attribute name="size">67</xsl:attribute>
<xsl:attribute name="value"><xsl:copy-of select="$uversion"/></xsl:attribute>
</xsl:element>
<xsl:element name="input">
<xsl:attribute name="type">hidden</xsl:attribute>
<xsl:attribute name="name">original_uversion</xsl:attribute>
<xsl:attribute name="id">original_uversion</xsl:attribute>
<xsl:attribute name="value"><xsl:copy-of select="$uversion"/></xsl:attribute>
</xsl:element>
</TD>
</TR>
</xsl:if>
<xsl:if test="$uversion=''">
<TR>
<TD class="desc"><div id="str_uversion">.</div></TD>
<TD class="normal">
<xsl:element name="input">
<xsl:attribute name="type">text</xsl:attribute>
<xsl:attribute name="name">uversion</xsl:attribute>
<xsl:attribute name="size">67</xsl:attribute>
<xsl:attribute name="value"><xsl:copy-of select="$iversion"/></xsl:attribute>
</xsl:element>
<xsl:element name="input">
<xsl:attribute name="type">hidden</xsl:attribute>
<xsl:attribute name="name">original_uversion</xsl:attribute>
<xsl:attribute name="value"><xsl:copy-of select="$iversion"/></xsl:attribute>
</xsl:element>
</TD>
</TR>
</xsl:if>
<TR><TD class="desc"><div id="str_sdesc">.</div></TD>
<TD class="normal">
<xsl:element name="input">
<xsl:attribute name="type">text</xsl:attribute>
<xsl:attribute name="name">ishortdescr</xsl:attribute>
<xsl:attribute name="id">ishortdescr</xsl:attribute>
<xsl:attribute name="size">67</xsl:attribute>
<xsl:attribute name="value"><xsl:copy-of select="$ishortdescr"/></xsl:attribute>
</xsl:element>
<xsl:element name="input">
<xsl:attribute name="type">hidden</xsl:attribute>
<xsl:attribute name="name">original_ishortdescr</xsl:attribute>
<xsl:attribute name="id">original_ishortdescr</xsl:attribute>
<xsl:attribute name="value"><xsl:copy-of select="$ishortdescr"/></xsl:attribute>
</xsl:element>
</TD>
</TR>
<TR><TD class="desc"><div id="str_desc">.</div></TD>
<TD class="normal">
<xsl:element name="textarea">
<xsl:attribute name="name">idesciption</xsl:attribute>
<xsl:attribute name="id">idesciption</xsl:attribute>
<xsl:attribute name="rows">10</xsl:attribute>
<xsl:attribute name="cols">67</xsl:attribute>
<xsl:copy-of select="$idesciption"/>
</xsl:element>
<xsl:element name="input">
<xsl:attribute name="type">hidden</xsl:attribute>
<xsl:attribute name="name">original_idesciption</xsl:attribute>
<xsl:attribute name="id">original_idesciption</xsl:attribute>
<xsl:attribute name="value"><xsl:copy-of select="$idesciption"/></xsl:attribute>
</xsl:element>
</TD>
</TR>
<xsl:for-each select="InfoButtons">
<xsl:if test="InfoButton">
<TR><TD class="desc"><div id="str_info">.</div></TD><TD><TABLE border="0" cellpadding="0" cellspacing="0"><TR><xsl:apply-templates/></TR></TABLE></TD></TR>
</xsl:if>
<xsl:if test="not(InfoButton)">
<TR><TD class="desc"><div id="str_info">.</div></TD><TD>
<TABLE border="0" cellpadding="0" cellspacing="0"><TR>
<TR>
<TD class="normal">
<xsl:element name="input">
<xsl:attribute name="type">text</xsl:attribute>
<xsl:attribute name="name">InfoButton_URL[]</xsl:attribute>
<xsl:attribute name="size">67</xsl:attribute>
<xsl:attribute name="value"></xsl:attribute>
<xsl:attribute name="onchange">datachanged=1;</xsl:attribute>
</xsl:element>
<input type="hidden" name="original_InfoButton_URL[]" value=" "/>
</TD>
</TR>
</TR></TABLE>
</TD></TR>
</xsl:if>
</xsl:for-each>
<xsl:for-each select="DownloadButtons">
<xsl:if test="DownloadButton">
<TR><td class="desc"><div id="str_download">.</div></td><TD><TABLE border="0" cellpadding="0" cellspacing="0"><xsl:apply-templates/></TABLE></TD></TR>
</xsl:if>
<xsl:if test="not(DownloadButton)">
<TR><td class="desc"><div id="str_download">.</div></td>
<TD>
<TABLE border="0" cellpadding="0" cellspacing="0">
<TR>
<TD class="normal">
<xsl:element name="input">
<xsl:attribute name="type">text</xsl:attribute>
<xsl:attribute name="name">DownloadButton_URL[]</xsl:attribute>
<xsl:attribute name="size">67</xsl:attribute>
<xsl:attribute name="value"></xsl:attribute>
<xsl:attribute name="onchange">datachanged=1;</xsl:attribute>
</xsl:element>
<input type="hidden" name="original_DownloadButton_URL[]" value=" "/>
</TD>
</TR>
</TABLE>
</TD>
</TR>
</xsl:if>
</xsl:for-each>
<xsl:for-each select="BuyButtons">
<xsl:if test="BuyButton">
<TR><td class="desc"><div id="str_buynow">.</div></td><TD><TABLE border="0" cellpadding="0" cellspacing="0"><xsl:apply-templates/></TABLE></TD></TR>
</xsl:if>
<xsl:if test="not(BuyButton)">
<TR><td class="desc"><div id="str_buynow">.</div></td><TD>
<TABLE border="0" cellpadding="0" cellspacing="0">
<TR>
<TD class="normal">
<xsl:element name="input">
<xsl:attribute name="type">text</xsl:attribute>
<xsl:attribute name="name">BuyButton_URL[]</xsl:attribute>
<xsl:attribute name="size">67</xsl:attribute>
<xsl:attribute name="value"></xsl:attribute>
<xsl:attribute name="onchange">datachanged=1;</xsl:attribute>
</xsl:element>
<input type="hidden" name="original_BuyButton_URL[]" value=" "/>
</TD>
</TR>
</TABLE>
</TD></TR>
</xsl:if>
</xsl:for-each>
<TR><TD class="desc"><div id="str_comment">.</div></TD>
<TD class="normal">
<xsl:element name="textarea">
<xsl:attribute name="name">comment</xsl:attribute>
<xsl:attribute name="rows">5</xsl:attribute>
<xsl:attribute name="cols">67</xsl:attribute>
<xsl:attribute name="onchange">datachanged=1;</xsl:attribute>
</xsl:element>
</TD>
</TR>
</table>
</xsl:template>
<xsl:template match="updatesend/software/installed/name"></xsl:template>
<xsl:template match="updatesend/software/installed/version"></xsl:template>
<xsl:template match="updatesend/software/installed/publisher"></xsl:template>
<xsl:template match="updatesend/software/installed/contact"></xsl:template>
<xsl:template match="updatesend/software/installed/helplink"></xsl:template>
<xsl:template match="updatesend/software/installed/telephone"></xsl:template>
<xsl:template match="updatesend/software/installed/readme/display"></xsl:template>
<xsl:template match="updatesend/software/installed/readme/cmd"></xsl:template>
<xsl:template match="updatesend/software/installed/updates"></xsl:template>
<xsl:template match="updatesend/software/installed/comment"></xsl:template>
<xsl:template match="updatesend/software/installed/date"></xsl:template>
<xsl:template match="updatesend/software/installed/size"></xsl:template>
<xsl:template match="updatesend/software/installed/repair"></xsl:template>
<xsl:template match="InfoButton">
<TR>
<TD class="normal">
<xsl:element name="input">
<xsl:attribute name="type">text</xsl:attribute>
<xsl:attribute name="name">InfoButton_URL[]</xsl:attribute>
<xsl:attribute name="size">67</xsl:attribute>
<xsl:attribute name="value"><xsl:value-of select="Url"/></xsl:attribute>
<xsl:attribute name="onchange">datachanged=1;</xsl:attribute>
</xsl:element>
<xsl:element name="input">
<xsl:attribute name="type">hidden</xsl:attribute>
<xsl:attribute name="name">original_InfoButton_URL[]</xsl:attribute>
<xsl:attribute name="value"><xsl:value-of select="Url"/></xsl:attribute>
</xsl:element>
</TD>
</TR>
</xsl:template>
<xsl:template match="DownloadButton">
<TR>
<TD class="normal">
<xsl:element name="input">
<xsl:attribute name="type">text</xsl:attribute>
<xsl:attribute name="name">DownloadButton_URL[]</xsl:attribute>
<xsl:attribute name="size">67</xsl:attribute>
<xsl:attribute name="onchange">datachanged=1;</xsl:attribute>
<xsl:attribute name="value"><xsl:value-of select="Url"/></xsl:attribute>
</xsl:element>
<xsl:element name="input">
<xsl:attribute name="type">hidden</xsl:attribute>
<xsl:attribute name="name">original_DownloadButton_URL[]</xsl:attribute>
<xsl:attribute name="value"><xsl:value-of select="Url"/></xsl:attribute>
</xsl:element>
</TD>
</TR>
</xsl:template>
<xsl:template match="BuyButton">
<TR>
<TD class="normal">
<xsl:element name="input">
<xsl:attribute name="type">text</xsl:attribute>
<xsl:attribute name="name">BuyButton_URL[]</xsl:attribute>
<xsl:attribute name="size">67</xsl:attribute>
<xsl:attribute name="onchange">datachanged=1;</xsl:attribute>
<xsl:attribute name="value"><xsl:value-of select="Url"/></xsl:attribute>
</xsl:element>
<xsl:element name="input">
<xsl:attribute name="type">hidden</xsl:attribute>
<xsl:attribute name="name">original_BuyButton_URL[]</xsl:attribute>
<xsl:attribute name="value"><xsl:value-of select="Url"/></xsl:attribute>
</xsl:element>
<xsl:if test="DisplayName">
<xsl:element name="a">
<xsl:attribute name="href">javascript:window.external.OpenURL('<xsl:value-of select="Url"/>');</xsl:attribute>
<xsl:attribute name="style">text-decoration:none;</xsl:attribute>
<font color="#000000">
<xsl:element name="div">
<xsl:attribute name="style">display: inline;</xsl:attribute>
<xsl:attribute name="id">str_buyfrom_<xsl:number level="single" count="BuyButton" format="1" /></xsl:attribute>
.
</xsl:element>
</font>
<xsl:value-of select="DisplayName"/>
</xsl:element>
</xsl:if>
</TD>
<TD> </TD>
</TR>
</xsl:template>
</xsl:stylesheet>